package com.peng.rpc.common.server;

import com.peng.rpc.serializer.CommonSerializer;

import java.util.List;

/**
 * @author Wonderson
 * @email wpp.ds@foxmail.com
 * @date 2022/2/28 22:10
 */
public interface RpcServer {

    int DEFAULT_SERIALIZER = CommonSerializer.KRYO_SERIALIZER;

    void start();

    <T> void publishService(T service, String serviceName);

}
